﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JESAI.Core.Exceptions
{
    public class BuisnessException : JESAIException
    {

        protected const long DefaultErrorCode = 5001;
        private long defaultErrorCode;
        private string v;

        public BuisnessException(long defaultErrorCode, string v) : base(defaultErrorCode, v)
        {

        }

        public static Exception NotFound(string v)
        {
            throw new BuisnessException(DefaultErrorCode, v);
        }
    }
}
